﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Models
{
    public class SysAction:BaseModel
    {
        [StringLength(20)]
        public string Name { get; set; }

        [StringLength(20)]
        public string ActionName { get; set; }

        public int ModuleId { get; set; }

        public int Sort { get; set; }

        //[ForeignKey(nameof(ModuleId))]
        //public virtual SysModule Module { get; set; }
    }
}
